{{include file="custom/ui/gui/knowledgebasemenu.tpl"}}

<table width="1000px" id="{{$t|escape:javascript}}_content_table"></table>
<div  align="center">
  <table width="1000px" >
    <tr><td align="right">
      <div id="{{$t|escape:javascript}}_pagination_div"></div>
    </td></tr>
  </table>
</div>

<script src="jsrequest.php?script={{$t|escape:'html'}}" type="text/javascript"></script>
<script type="text/javascript">
  <!--
    if (document.addEventListener) {
      document.addEventListener('DOMContentLoaded', init, false);
    }
    window.onload = init;

    function init() {
      if (!document.getElementById || !document.createElement || !arguments || arguments.callee._loaded) {
        return;
      }
      arguments.callee._loaded = true;
      
      var gui = Api_KnowledgeBases.gui('{{$t|escape:'javascript'}}');
      new Core_KnowledgeBases(gui, JSON.parse('{{$u|escape:javascript}}'), JSON.parse('{{$d|escape:javascript}}'), JSON.parse('{{$opts|escape:javascript}}'), JSON.parse('{{$msg|escape:javascript}}'));
    }
  //-->
</script>